﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<fmt:setBundle basename="ApplicationMessage" />
<fmt:setLocale value="zh_CN" />

<!DOCTYPE html>
<html lang="zh-CN">
<head>

  <%@ include file="/WEB-INF/include/meta.jsp"%>
  <%@ include file="/WEB-INF/include/css.jsp"%>
  
  <title></title>

</head>

<body>
  <%@ include file="/WEB-INF/include/header.jsp"%>
  <div class="container main-content signin-container">
    
    
    <div class="content-area">
      
      <div class="row">
        <div class="col-xs-8 col-xs-offset-2">
          
          <div class="x-breadcrumb-wrapper hide">
            <div class="x-breadcrumb clearfix">
              <h2><i class="glyphicon glyphicon-fire"></i>&nbsp;&nbsp;<span>学员签到&nbsp;-&nbsp;签到记录</span></h2>
            </div>
          </div>
          
          <form id="signinForm" class="form-horizontal hide" method="POST" data-validate="true" action="${ctx.host}/signin" method="POST" data-validate="true">
            
            <input type="hidden" name="scheduleId" id="scheduleId" data-validate="required">
            
            <div class="form-group x-form-group" style="border-bottom: 0px; padding: 0px;">
              <label class="col-xs-2 control-label" style="text-align: left; width: 14%; padding-right: 0px; text-align: right;">课程名称：</label>
              <div class="pull-left col-xs-4" >
                <p class="form-control-static" id=courseName></p>
              </div>
            </div>
            
            <div class="form-group x-form-group" style="border-bottom: 0px; padding: 0px;">
              <label class="col-xs-2 control-label" style="text-align: left; width: 14%; padding-right: 0px; text-align: right;">学员名称：</label>
              <div class="pull-left col-xs-4" >
                <p class="form-control-static" id="studentName"></p>
              </div>
              <label class="col-xs-2 control-label" style="text-align: left; width: 14%; padding-right: 0px; text-align: right;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;教练：</label>
              <div class="pull-left col-xs-4" >
                <p class="form-control-static" id="coachName"></p>
              </div>
            </div>
            
            <div class="form-group x-form-group" style="border-bottom: 0px; padding: 0px;">
              <label class="col-xs-2 control-label" style="text-align: left; width: 14%; padding-right: 0px; text-align: right;">上课时间：</label>
              <div class="pull-left col-xs-4" >
                <p class="form-control-static" id="time"></p>
              </div>
              <label class="col-xs-2 control-label" style="text-align: left; width: 14%; padding-right: 0px; text-align: right;">上课区域：</label>
              <div class="pull-left col-xs-4" >
                <p class="form-control-static" id="area"></p>
              </div>
            </div>
            
            <div class="form-group x-form-group" style="border-bottom: 0px; padding: 0px;">
              <label class="col-xs-2 control-label" style="text-align: left; width: 14%; padding-left: 0px; padding-right: 0px; text-align: right;">需要三围数据：</label>
              <div class="pull-left col-xs-8" >
                <p class="form-control-static" id="couldEdit"></p>
              </div>
            </div>
            <div class="form-group x-form-group" style="border-bottom: 0px; padding: 10px 0;" id="bust">
              <label class="col-xs-2 control-label" style="text-align: left; width: 14%; padding-left: 0px; padding-right: 0px; text-align: right;">胸围(cm)：</label>
              <div class="pull-left col-xs-8" >
                <input name="bust" type="text" class="form-control" placeholder="请输入数字" />
              </div>
            </div>
            <div class="form-group x-form-group" style="border-bottom: 0px; padding: 10px 0;" id="waist">
              <label class="col-xs-2 control-label" style="text-align: left; width: 14%; padding-left: 0px; padding-right: 0px; text-align: right;">腰围(cm)：</label>
              <div class="pull-left col-xs-8" >
                <input name="waist" type="text" class="form-control" placeholder="请输入数字" />
              </div>
            </div>
            <div class="form-group x-form-group" style="border-bottom: 0px; padding: 10px 0 50px 0;" id="hips">
              <label class="col-xs-2 control-label" style="text-align: left; width: 14%; padding-left: 0px; padding-right: 0px; text-align: right;">臀围(cm)：</label>
              <div class="pull-left col-xs-8" >
                <input name="hips" type="text" class="form-control" placeholder="请输入数字" />
              </div>
            </div>
            <div class="modal-footer">
              <button id="createMaterial" type="submit" class="btn btn-success btn-shadow btn-shadow-success x-btn">提交签到数据</button>&nbsp;&nbsp;&nbsp;&nbsp;
            </div>
            
          </form>
        </div>
      </div>
      
    </div>
    
    <div class="opts-area">
      <div class="row">
        <div class="col-xs-8 col-xs-offset-2">
          <div class="row">
            <div class="col-xs-4 col-xs-offset-2">
              <button type="button" id="openAd" class="btn btn-primary btn-block btn-big" style="height: 100px;">展示投屏</button>
            </div>
            <div class="col-xs-4">
              <button type="button" id="openQrcode" class="btn btn-primary btn-block btn-big" style="height: 100px;">生成签到二维码</button>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <%@ include file="/WEB-INF/include/footer.jsp"%>
  <%@ include file="/WEB-INF/include/script.jsp"%>
  
  <d:resource root="${ctx.resource}/build" type="script" src="js/page/home.js">
    <script type="text/javascript">
      require(['page/home'] , function(page) {
        page.init({
        	"siteId": "${siteId}"
        });
      })
    </script>
  </d:resource>
</body>
</html>
